<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css"
	href="view/bootstrap-3.3.5/css/bootstrap.css" />
<link rel="stylesheet" type="text/css"
	href="view/bootstrapvalidator/css/bootstrapValidator.css" />
<script charset="utf-8" src="view/jquery/jquery-1.10.2.min.js"></script>
<script charset="utf-8" src="view/bootstrap-3.3.5/js/bootstrap.js"></script>
<script charset="utf-8"
	src="view/bootstrapvalidator/js/bootstrapValidator.js"></script>
</head>
<body>
<div class="container">
<table class="table table-spripad table-hover">
			<caption>我的权限</caption>
			<c:forEach items="${requestScope.lists}" var="l">
			<c:forEach items="${l.qxRoles}" var="q">
			<thead>
				<tr>
				<th>角色名称</th>
				<td><font size="5" color="red">${q.roleName}</font></td>
				</tr>
				<tr class="bg-primary">
					<th>权限编号</th>
					<th>权限名称</th>
				</tr>
			</thead>
			<tbody>
			<c:forEach items="${q.functions}" var="f">
			<tr class="active">
			<td>${f.oid}</td>
			<td>${f.functionName}</td>
			</tr>
			</c:forEach>
			</c:forEach>
			</c:forEach>
			</tbody>
</table>
</div>
</body>
</html>